package com.atguigu.binaryTree;

public class FindTheLowestAncestor {
    public static TreeNode findTheLowestAncestor(TreeNode root,TreeNode o1,TreeNode o2){
        if(root==null || root==o1 || root==o2){
            return root;
        }
        return null;
    }
}
